package org.baojie.raft.serialization;

public interface Serialize {

    <T> byte[] serialize(T t);

    <T> T deserialize(byte[] bytes, Class<T> clz);

}
